package com.hundsun.aitest.service.impl;

import com.hundsun.aitest.dao.PlatConfigMapper;
import com.hundsun.aitest.model.entity.PlatConfig;
import com.hundsun.aitest.model.entity.PlatConfigExample;
import com.hundsun.aitest.service.PlatConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlatConfigServiceImpl implements PlatConfigService {

    @Autowired
    private PlatConfigMapper platConfigMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return platConfigMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PlatConfig row) {
        return platConfigMapper.insert(row);
    }

    @Override
    public List<PlatConfig> selectByExample(PlatConfigExample example) {
        return platConfigMapper.selectByExample(example);
    }

    @Override
    public PlatConfig selectByPrimaryKey(Integer id) {
        return platConfigMapper.selectByPrimaryKey(id);
    }
}
